using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("StoreLegalBAMLinks")]
	public class StoreLegalBAMLinks : UIBPopup
	{
		public enum BAMReason
		{
			CHANGE_PAYMENT_METHOD,
			READ_TERMS_OF_SALE
		}

		public GameObject m_root => method_3<GameObject>("m_root");

		public UIBButton m_paymentMethodButton => method_3<UIBButton>("m_paymentMethodButton");

		public UIBButton m_termsOfSaleButton => method_3<UIBButton>("m_termsOfSaleButton");

		public PegUIElement m_offClickCatcher => method_3<PegUIElement>("m_offClickCatcher");

		public static string SEND_TO_BAM_THEN_HIDE_COROUTINE => MonoClass.smethod_8(TritonHs.MainAssemblyPath, "", "StoreLegalBAMLinks", "SEND_TO_BAM_THEN_HIDE_COROUTINE");

		public static string FMT_URL_TERMS_OF_SALE => MonoClass.smethod_8(TritonHs.MainAssemblyPath, "", "StoreLegalBAMLinks", "FMT_URL_TERMS_OF_SALE");

		public static StoreURL TERMS_OF_SALE_URL => MonoClass.smethod_7<StoreURL>(TritonHs.MainAssemblyPath, "", "StoreLegalBAMLinks", "TERMS_OF_SALE_URL");

		public static string FMT_URL_CHANGE_PAYMENT => MonoClass.smethod_8(TritonHs.MainAssemblyPath, "", "StoreLegalBAMLinks", "FMT_URL_CHANGE_PAYMENT");

		public static StoreURL CHANGE_PAYMENT_URL => MonoClass.smethod_7<StoreURL>(TritonHs.MainAssemblyPath, "", "StoreLegalBAMLinks", "CHANGE_PAYMENT_URL");

		public StoreLegalBAMLinks(IntPtr address, string className)
			: base(address, className)
		{
		}

		public StoreLegalBAMLinks(IntPtr address)
			: this(address, "StoreLegalBAMLinks")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public new void Show()
		{
			method_8("Show");
		}

		public void OnTermsOfSalePressed(UIEvent e)
		{
			method_8("OnTermsOfSalePressed", e);
		}

		public void OnPaymentMethodPressed(UIEvent e)
		{
			method_8("OnPaymentMethodPressed", e);
		}

		public void OnClickCatcherPressed(UIEvent e)
		{
			method_8("OnClickCatcherPressed", e);
		}

		public void EnableButtons(bool enabled)
		{
			method_8("EnableButtons", enabled);
		}
	}
}
